pub struct User {
    pub name: String,
    pub age: u8,
    pub status: bool,
    pub email: String,
}

impl User {
    pub fn new(name: String, age: u8, status: bool, email: String) -> User {
        User {
            name,
            age,
            status,
            email,
        }
    }

    pub fn get_name(&self) -> &String {
        &self.name
    }

    pub fn get_age(&self) -> u8 {
        self.age
    }

    pub fn get_status(&self) -> bool {
        self.status
    }

    pub fn get_email(&self) -> &String {
        &self.email
    }
}